import { useModel } from "umi";

import OrganizationStatus from "./status";
// import OrganizationIndustry from "./industry";
import OrganizationDatabase from "./database";
import OrganizationServices from "./services";
import OrganizationDependentedDatabases from "./dependentedDatabases";

const OrganizationFullInfo = () => {
    const { selectedOrganization } = useModel("gateway.info");

    if (!selectedOrganization.uuid) return <></>;

    return (
        <div>
            <OrganizationStatus />
            <OrganizationDatabase />
            <OrganizationDependentedDatabases />
            <OrganizationServices />
        </div>
    );
};

export default OrganizationFullInfo;
